package com.yc.navy.goods.dto;

public class OrderItemInfoShopList {
	private Integer num;
	private Double price;
	private Integer oid;
	private String bcolor;
	private String bsize;
	private String type;
	private String model;
	private String pname;
	private String pics;
	private String ostatus;

	@Override
	public String toString() {
		return "OrderItemInfoShopList [num=" + num + ", price=" + price + ", oid=" + oid + ", bcolor=" + bcolor
				+ ", bsize=" + bsize + ", type=" + type + ", model=" + model + ", pname=" + pname + ", pics=" + pics
				+ ", ostatus=" + ostatus + "]";
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getOid() {
		return oid;
	}

	public void setOid(Integer oid) {
		this.oid = oid;
	}

	public String getBcolor() {
		return bcolor;
	}

	public void setBcolor(String bcolor) {
		this.bcolor = bcolor;
	}

	public String getBsize() {
		return bsize;
	}

	public void setBsize(String bsize) {
		this.bsize = bsize;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getPics() {
		return pics;
	}

	public void setPics(String pics) {
		this.pics = pics;
	}

	public String getOstatus() {
		return ostatus;
	}

	public void setOstatus(String ostatus) {
		this.ostatus = ostatus;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((bcolor == null) ? 0 : bcolor.hashCode());
		result = prime * result + ((bsize == null) ? 0 : bsize.hashCode());
		result = prime * result + ((model == null) ? 0 : model.hashCode());
		result = prime * result + ((num == null) ? 0 : num.hashCode());
		result = prime * result + ((oid == null) ? 0 : oid.hashCode());
		result = prime * result + ((ostatus == null) ? 0 : ostatus.hashCode());
		result = prime * result + ((pics == null) ? 0 : pics.hashCode());
		result = prime * result + ((pname == null) ? 0 : pname.hashCode());
		result = prime * result + ((price == null) ? 0 : price.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrderItemInfoShopList other = (OrderItemInfoShopList) obj;
		if (bcolor == null) {
			if (other.bcolor != null)
				return false;
		} else if (!bcolor.equals(other.bcolor))
			return false;
		if (bsize == null) {
			if (other.bsize != null)
				return false;
		} else if (!bsize.equals(other.bsize))
			return false;
		if (model == null) {
			if (other.model != null)
				return false;
		} else if (!model.equals(other.model))
			return false;
		if (num == null) {
			if (other.num != null)
				return false;
		} else if (!num.equals(other.num))
			return false;
		if (oid == null) {
			if (other.oid != null)
				return false;
		} else if (!oid.equals(other.oid))
			return false;
		if (ostatus == null) {
			if (other.ostatus != null)
				return false;
		} else if (!ostatus.equals(other.ostatus))
			return false;
		if (pics == null) {
			if (other.pics != null)
				return false;
		} else if (!pics.equals(other.pics))
			return false;
		if (pname == null) {
			if (other.pname != null)
				return false;
		} else if (!pname.equals(other.pname))
			return false;
		if (price == null) {
			if (other.price != null)
				return false;
		} else if (!price.equals(other.price))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		return true;
	}
}
